export function getStorage(key) {
  let data = localStorage.getItem(key);
  if (data) {
    return JSON.parse(data);
  } else {
    return null;
  }
}
export function setStorage(key, value) {
  localStorage.setItem(key, JSON.stringify(value));
}
